<template>
  <div class="order-aftersale">
    <div class="detail-top">
      <nav-bar title="订单详情"
               bgColor="transparent"></nav-bar>
      <span class="top-title">申请售后</span>
    </div>
    <div class="detail-content">
      <div class="content-good">
        <li class="good-title">
          <van-icon name="shop-o" />
          <span>美的旗舰店</span>
        </li>
        <order-good-card :rightShow="true"></order-good-card>
      </div>
      <div class="content-good">
        <li class="good-title">请填写售后原因</li>
        <textarea id="asale-reason"
                  cols="30"
                  rows="6"></textarea>
      </div>
    </div>
    <li class="detail-footer">提交</li>

  </div>
</template>

<script>
import NavBar from '@/components/NavBar'
import OrderGoodCard from '@/components/OrderGoodCard'
export default {
  data () {
    return {
      show: true,
    };
  },
  components: {
    NavBar,
    OrderGoodCard
  },
  created () { },
  methods: {}
}

</script>

<style lang='scss'>
.order-aftersale {
  @include top-page;
  background-color: #eeeeee;
  align-items: center;
  .detail-top {
    position: relative;
    width: 100%;
    height: 2.5rem;
    background: url('../../assets/image/order/shenqingshouhou.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    span {
      position: absolute;
      left: 0.7rem;
    }
    .top-title {
      top: 55%;
      font-size: 0.28rem;
      font-family: Source Han Sans CN Medium;
      font-weight: 500;
      color: #fefdfd;
      line-height: 0.36rem;
    }
  }
  .detail-content {
    width: 100%;
    flex: 1;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 0.1rem;
    @include flex-column;
    .content-good {
      width: 100%;
      background-color: #ffffff;
      @include flex-column;
      box-sizing: border-box;
      padding: 0.2rem 0.2rem 0.2rem 0.4rem;
      border-radius: 0.15rem;
      margin-bottom: 0.1rem;
      .good-title {
        display: flex;
        align-items: center;
        font-size: 0.28rem;
        font-weight: 600;
        color: #131415;
        margin-bottom: 0.2rem;
        .van-icon {
          font-size: 0.32rem;
          font-weight: 600;
          margin-right: 0.1rem;
        }
      }
      .order-good-card {
        margin: 0.05rem 0;
      }
    }
    #asale-reason {
      border-color: #666666;
      resize: none;
    }
  }
  .detail-footer {
    width: 6rem;
    height: 0.5rem;
    line-height: 0.5rem;
    text-align: center;
    color: #ffffff;
    border: 1px solid #e85014;
    background-color: #e85014;
    border-radius: 1rem;
    margin-bottom: 0.2rem;
  }
}
</style>